package com.chagee.store.operation.api.bo;

import lombok.Data;

import java.io.Serializable;

/**
 * @Author : hk
 * @Date : 2024/12/18
 */
@Data
public class InvoiceMainBO implements Serializable {
	//commitStatus
	//warning_info  异常信息
	private String areaName;
	private String ext9;
	private String ext8;
	private String ext7;
	private String ext6;
	private String ext5;
	private String ext4;
	private String ext3;
	private String ext2;
	private String ext1;
	//影像id
	private String imageId;
	private String warningInfo;
	private String systemLabelId;
	//发票代码
	private String invoiceCode;
	private String xmlUrl;
	private String imageFileMd5;
	private String checkRequestTime;
	private String cpyStatus;
	private String billTypeCode;
	private String systemLabelName;
	private String usedAmount;
	private String allElectricInvoiceNo;
	private String customRegion;
	private String backRemark;
	private String ctStatus;
	//原发票代码
	private String originInvoiceCode;

	//用户code
	private String createUserCode;
	private String recogBatchNo;
	//业务单号
	private String billCode;
	private String balanceAmount;
	private String areaId;
	private String rootRegion;
	private String checkResponseTime;
	//原发票号码
	private String originInvoiceNo;
	//租户ID
	private String tenantId;
	//发票ID
	private String invoiceId;
	private String isSalesList;
	private String billCodes;
	private String signForStatus;
	private String purchaserNo;
	private String personRemark;

	//发票号码
	private String invoiceNo;

	private String orgName;

	private String backType;
	//购方名称
	private String purchaserName;
	//购方税号
	private String purchaserTaxNo;
	//购方代码
	private String purchaserCode;
	//购方地址电话
	private String purchaserAddrTel;
	//购方地址
	private String purchaserAddress;
	//购方电话
	private String purchaserTel;
	//购方银行名称账号
	private String purchaserBankInfo;
	//购方银行名称
	private String purchaserBankName;
	//购方银行账号
	private String purchaserBankAccount;
	//销方名称(供应商名称)
	private String sellerName;
	//销方税号（供应商税号）
	private String sellerTaxNo;
	//供应商代码
	private String sellerCode;
	//销方地址电话
	private String sellerAddrTel;
	//销方地址
	private String sellerAddress;
	//销方电话
	private String sellerTel;
	//销方银行名称账号
	private String sellerBankInfo;
	//销方银行名称
	private String sellerBankName;
	//销方银行账号
	private String sellerBankAccount;
	//开票日期(yyyymmdd)
	private String paperDrewDate;
	//校验码
	private String checkCode;
	//发票联次 1发票联 2 抵扣联 3 存根联 4记账联
	private String invoiceSheet;
	//发票类型：
	//增值税发票：s-专票，c-普票，ce-电子发票，cj-卷票，se-电子专票, cb-增值税电子普通发票（区块链）cd-浙江通用（电子）发票 qc-电子发票（普通发票）qs-电子发票（增值税专用发票） cz-纸质发票（普通发票） sz-纸质发票（增值税专用发票）t-火车票,taxi-出租车票 quota-定额发票 vs-二手车发票,im-通用机打发票 ,toll -过路费发票, p- 飞机票,bus-客运公交票 other-其他发票 ct-增值税电子普通发票（通行费) payment-海关缴款书 cdf-海关货物报关单 fc-财政票据 fce-通用财政票据（电子） moe-医疗门诊收费票据（电子）mhe-医疗住院收费票据（电子）j-机动车销售统一发票，qp-电子发票（航空运输电子客票行程单）,qt-电子发票（铁路电子客票）
	private String invoiceType;
	/**
	 * 发票类型code:
	 * 增值税发票: ticketInvoice;火车票: ticketTrain,出租车票: ticketTaxi,定额发票: ticketQuota,通用机打发票: ticketMachine,飞机票: ticketPlane
	 * 过路费发票: ticketToll
	 * 二手车发票: ticketUsedCar
	 * 客运汽车/船发票:ticketBus
	 * 其他发票:ticketOther
	 * 机动车发票:ticketVehicle
	 * 附件：ticketAttachment
	 * 海关缴款书：ticketCustomsPayment
	 * 海关报关单：ticketCustomsDeclaration
	 * 销货清单：ticketSalesList
	 * 财政票据：ticketFinance
	 * 医疗票据：ticketMedical
	 */
	private String ticketCode;
	//特殊发票标记（针对电子发票）0-默认 1-是 (是否成品油)
	private String specialInvoiceFlag;
	//是否税局代开 税局代开开票：0 否 1 是
	private String isReplace;
	//代开税号
	private String replaceTaxNo;
	//代开企业名称
	private String replaceCompanyName;
	//机器编码
	private String machineCode;
	//密文
	private String cipherText;
	//税率
	private String taxRate;
	//税额
	private String taxAmount;
	//含税金额
	private String amountWithTax;
	//不含税金额
	private String amountWithoutTax;
	//收款人姓名
	private String cashierName;
	//复核人姓名
	private String checkerName;
	//开票人姓名
	private String invoicerName;
	//备注
	private String remark;
	//机动车类型
	private String vehicleType;
	//机动车品牌
	private String vehicleBrand;
	//产地
	private String productionArea;
	//引擎编号
	private String engineNo;
	//商检单号
	private String commodityInspectionNo;
	//合格证号
	private String certificationNo;
	//车辆编号
	private String vehicleNo;
	//进口编号
	private String importCertificateNo;
	//税务局编码
	private String chargeTaxAuthorityCode;
	//税务局名称
	private String chargeTaxAuthorityName;
	//主管税务机关
	private String taxPaidProof;
	//吨位
	private String tonnage;
	//最大载人数
	private String maxCapacity;
	//地区编码
	private String dqCode;
	//地区名称
	private String dqName;
	//组织id
	private String orgId;
	//组织code
	private String orgCode;
	//影像url（PNG/JPG）——可查看的图片
	private String imageUrl;
	//原影像url
	private String sourceImageUrl;
	//原文件
	private String imageFileUrl;

	//单据类型
	//采购类 费用类 记账工单
	//良品铺子(LPPZ):statementBill-对账单 expensesBill- 费用报销单
	//重庆医药(CQP):purchaseBill-采购类单据 expensesBill-费用类 accountBill- 记账工单statementBill-对账单
	//碧桂园(BGYFW): publicBill 对公付款单 accountBill- 账期付款 expensesBill-费用报销
	//新城悦(seazen): expensesBill-员工报销 accountBill-非合同支付 publicBill -合同支付
	// (扫描代办)purchaseBill-应收共享 privateBill-固定资产 salesBill-总账 statementBill-思源应收
	//弘阳(rsun): salesBill-事后付款单 expensesBill-费用报销单 purchaseBill-成本付款单
	//大润发(SUNART):不适用，请参考billTypeCode
	//保利投顾(poly@TG) expensesBill-渠道分销费用
	private String billEntityCode;
	//(单证业务状态) 0-已锁定，1-退回，2-审核完成，3-作废 4-审核后退回 5 未挂接(默认初始值) 99删除
	private String ticketStatus;
	//扫描人
	private String scanUserName;
	//扫描人id
	private String scanUserId;
	//扫描时间(时间戳)
	private String scanTime;
	//发票是否修改标识 0否 1是
	private String isChange;
	//发票是否新增标识 0否 1是
	private String isAdd;
	//外部业务单号
	private String settlementNo;
	//流水号
	private String serialNumber;
	//系统来源1-扫描2-上传3-接口4-票税助手5-移动端上传6-滴滴卡包7-支付宝卡包 8-微信卡包9-微信 99-其他
	private String systemOrig;
	//协同：供应商id
	private String reserved1;
	private String reserved2;
	private String reserved3;
	//0-个人单证池，1-影像采集，2-扫描待办，3-协同采集
	private String isPublic;
	//purchaserCode  重复

	//验签状态 0-待验真，1-验真成功，2-验真失败，3-无需验真
	private String checkSignStatus;
	//验签备注
	private String checkSignRemark;

	private String areaCode;
	private String ext10;
	private String isCollection;
	private String sellerNo;
	//租户code
	private String tenantCode;
	//验真状态 0 - 待验真 ; 1 - 验真中 2 - 验真成功  3- 验真失败; 4- 无需验真
	private String checkStatus;
	private String pdfUrl;

	private String parentImageId;
	private String warningStatus;
	//验真备注
	private String checkRemark;
	private String ofdUrl;
	//发票状态
	private String invoiceStatus;

}
